<{include file="tpl/header.html"}>
<h2 class="ytadmin-h2">修改用户信息</h2>

<form action="<{spUrl c=check a=edit is_edit_submit=1}>" method="POST">
	<table class="table table-striped" style="width:600px;margin:0 auto;">
	
		<{foreach item=member_item key=member_key from=$target_member_result}>
		<tr>
			<{if $member_key == 'id'}>
				<td>ID
				</td>
				<td><input type="text" style="background-color:#e3e3e3;" readonly="true" name="change_id" value="<{$member_item}>" />
				</td>
			<{/if}>
			<{if $member_key == 'name'}>
				<td>姓名
				</td>
				<td><input type="text" name="change_name"  value="<{$member_item}>" />
				</td>
			<{/if}>
			<{if $member_key == 'phone'}>
				<td>电话
				</td>
				<td><input type="text" name="change_phone"  value="<{$member_item}>" />
				</td>
			<{/if}>
			<{if $member_key == 'email'}>
				<td>邮箱
				</td>
				<td><input type="text" name="change_email" value="<{$member_item}>" />
				</td>
			<{/if}>
			<{if $member_key == 'unit'}>
				<td>单位
				</td>
				<td><input type="text" name="change_unit" value="<{$member_item}>" />
				</td>
			<{/if}>
			<{if $member_key == 'intro'}>
				<td>研究领域
				</td>
				<td><input type="text" name="change_intro" value="<{$member_item}>" />
				</td>
			<{/if}>
			<{if $member_key == 'add_time'}>
				<td>申请时间
				</td>
				<td><input type="text" style="background-color:#e3e3e3;" readonly="true" name="change_add_time" value="<{$member_item}>" />
				</td>
			<{/if}>
				
		</tr>
		<{/foreach}>
	
	</table>
	<br />
	<div style="width:100px;margin:0 auto;">
		<div>
			<input type="submit"  class="btn btn-info" name="change_do" value="提交"></input>
		</div>
		<a  style="margin-left:60px;margin-top:-40px;" href="<{spUrl c=check a=index}>" class="btn btn-error" name="change_cancel" >返回</a>
	</div>
</form>

<{include file="tpl/footer.html"}>